package com.jielihaofeng.chat.config;

import com.jielihaofeng.chat.localcache.impl.ChatGroupLocalCache;
import com.jielihaofeng.chat.localcache.impl.SysUserLocalCache;
import org.springframework.context.annotation.Bean;

/**
 * Description: 本地缓存配置
 *
 * @author xieli
 * @version 1.0
 * @date 2022/10/3 6:04 PM
 * @since JDK 1.8
 */
public class LocalCacheConfiguration {

    @Bean
    public SysUserLocalCache sysUserLocalCache() {
        return new SysUserLocalCache();
    }

    @Bean
    public ChatGroupLocalCache chatGroupLocalCache() {
        return new ChatGroupLocalCache();
    }

}
